package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年9月11日 下午1:45:07 
 * 类说明 
 */
public class PsCEpPropsVwPrimary implements Serializable {

	private static final long serialVersionUID = 4743894812028773973L;
	
	private String cEpCatType;
	private BigDecimal fieldnum;
	public String getcEpCatType() {
		return cEpCatType;
	}
	public void setcEpCatType(String cEpCatType) {
		this.cEpCatType = cEpCatType;
	}
	public BigDecimal getFieldnum() {
		return fieldnum;
	}
	public void setFieldnum(BigDecimal fieldnum) {
		this.fieldnum = fieldnum;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((cEpCatType == null) ? 0 : cEpCatType.hashCode());
		result = prime * result
				+ ((fieldnum == null) ? 0 : fieldnum.hashCode());
		return result;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PsCEpPropsVwPrimary other = (PsCEpPropsVwPrimary) obj;
		if (cEpCatType == null) {
			if (other.cEpCatType != null)
				return false;
		} else if (!cEpCatType.equals(other.cEpCatType))
			return false;
		if (fieldnum == null) {
			if (other.fieldnum != null)
				return false;
		} else if (!fieldnum.equals(other.fieldnum))
			return false;
		return true;
	}
	
	
}
 